export default class {
    getIndex(totalElements, page, size, index) {
        return totalElements - (page - 1) * size - index;
    }
}
